package org.example.core.repository;

import org.example.core.dao.SimpleDao;
import org.example.core.entity.SupperEntity;
import org.springframework.stereotype.Component;

import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;

/**
 * Description:
 * Date: 2024/1/12 23:41
 */
@Component
public class SimpleRepository<I, E extends SupperEntity<I>> extends BaseRepository<I, E, SimpleDao<I, E>> {
    /**
     * 简化开发
     * @return
     */
    @Override
    protected Class<E> getEntityClass() {
        return super.entityClass;
    }
}
